const express = require( 'express' );
const router = express.Router()

const stuModel = require( '../db/models/stuModel' )

router.post( '/find', async ( req, res ) => {
    console.log(req.body);
    let totalData = await stuModel.dim( req.body );
    res.status( 200 ).send( totalData );
} );

module.exports = router